#include "stdafx.h"

#include "media/sons/SoundManager.h"

TEST(SoundManagerTest, load)
{
	LevelManager levelMng;
	SoundManager soundManager(levelMng);
	int size = soundManager.getMediaLoadedAmout();
	soundManager.playSound("eat.wav", 0);
	EXPECT_EQ(size + 1, soundManager.getMediaLoadedAmout());
	soundManager.playSound("eat.wav", 0);
	EXPECT_EQ(size + 1, soundManager.getMediaLoadedAmout());
}